import instance from "../utils/request";

// 把这个函数暴露出去
export const login = ({ mobile, code }) => {
  return instance({
    url: "/v1_0/authorizations",
    method: "POST",
    data: {
      mobile: mobile.trim(),
      code: code.trim(),
    },
  });
};
